package com.ceba.test.base.configs;

import com.ceba.base.config.LdapCommonConfig;

import java.util.Properties;

public class LdapConfig extends LdapCommonConfig{

    //ldap配置
    public static void config(Properties prop) {
        //ldap ad登录
        if( "1".equals(CebaConfig.LOGIN_TYPE )) {
            LDAP_BASEDN = prop.getProperty("Ldap_basedn");
            LDAP_RULES=prop.getProperty("Ldap_rules");
            LDAP_VERIFYTYPE = prop.getProperty("Ldap_verifyType");
        }
    }


}
